import BookInformation from "../pages/bookInformation/index.tsx";
import Home from "../pages/home/index.tsx";
import Login from "../pages/user/login.tsx";
import Registed from "../pages/user/registed.tsx";
import ShoppingCar from "../pages/shoppingCar/index.tsx";
import UserPage from "../pages/user/userPage.tsx";

export const routes = [
    {
        path:"/",
        element:<Home/>
    },
    {
        path:"/bookinfo",
        element:<BookInformation/>
    },
    {
        path:"/login",
        element:<Login/>
    },
    {
        path:"/registed",
        element:<Registed/>
    },
    {
        path:"userPage",
        element:<UserPage/>
    },
    {
        path:"/shoppingCar",
        element:<ShoppingCar/>,
        meta:{check:true}
    }
]